﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GameTimeSystem
{
    public interface IGameTimer: IPoolItem
    {
        void Register(Func<bool> checkEnd,Action < float> onUpdate = null, Action onComplete = null);

        void Register(float edgeTime, Action<float> onUpdate = null, Action onComplete = null);
    }
}
